package jpa.entitys.synchro.staging;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the SYNC_QUEUE_PARAM database table.
 * 
 */
@Entity
@Table(name="SYNC_QUEUE_PARAM")
@NamedQueries({
    @NamedQuery(name = "SyncQueueParam.findAll", query = " SELECT c FROM SyncQueueParam c order by c.queueId asc"),    
    @NamedQuery(name = "SyncQueueParam.findById", query = " SELECT c FROM SyncQueueParam c WHERE c.queueId = :Id "),
    @NamedQuery(name = "SyncQueueParam.findByQueueId", query = " SELECT c FROM SyncQueueParam c WHERE c.queueId = :queueId order by c.syncQueueParamId asc")
    })
public class SyncQueueParam extends jpa.entitys.synchro.common.CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="SYNC_QUEUE_PARAM_ID")
	private BigDecimal syncQueueParamId;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}
	
	@Column(name="QUEUE_ID")
	private BigDecimal queueId;
	
	@Column(name="PARAM_NAME")
	private String paramName;

	@Column(name="PARAM_VALUE")
	private String paramValue;

	@Column(name="PROC_CREATEDBY")
	private String procCreatedby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="PROC_CREATEDON")
	private Date procCreatedon;	
	
	@Column(name="IS_PROCESSING")
	private String isProcessing;

	public SyncQueueParam() {
	}

	public String getIsProcessing() {
		return isProcessing;
	}

	public void setIsProcessing(String isProcessing) {
		this.isProcessing = isProcessing;
	}

	public BigDecimal getSyncQueueParamId() {
		return this.syncQueueParamId;
	}

	public void setSyncQueueParamId(BigDecimal syncQueueParamId) {
		this.syncQueueParamId = syncQueueParamId;
	}

	public String getParamName() {
		return this.paramName;
	}

	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	public String getParamValue() {
		return this.paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	public String getProcCreatedby() {
		return this.procCreatedby;
	}

	public void setProcCreatedby(String procCreatedby) {
		this.procCreatedby = procCreatedby;
	}

	public Date getProcCreatedon() {
		return this.procCreatedon;
	}

	public void setProcCreatedon(Date procCreatedon) {
		this.procCreatedon = procCreatedon;
	}

	public BigDecimal getQueueId() {
		return this.queueId;
	}

	public void setQueueId(BigDecimal queueId) {
		this.queueId = queueId;
	}

}